package com.itheima.Demo01.demo02;


import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Test01 {
    public static void main(String[] args) throws IOException {
        FileOutputStream file = new FileOutputStream("dya0610-code", true);
        file.write(97);
        file.write("\r\n".getBytes());
        file.write(98);
        file.write("\r\n".getBytes());
        file.close();

    }
}
